﻿using System;
using _5E.Infrastructure.Domain;

namespace Melee.Models.Entity
{
    public partial class City : EntityBase<Int32>, IAggregateRoot
    {
        private String m_Name;
        public virtual String Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }

        private Boolean m_IsMain;
        public virtual Boolean IsMain
        {
            get { return m_IsMain; }
            set { m_IsMain = value; }
        }

        private Int32 m_PointId;
        public virtual Int32 PointId
        {
            get { return m_PointId; }
            set { m_PointId = value; }
        }

        private Int32 m_Atk;
        public virtual Int32 Atk
        {
            get { return m_Atk; }
            set { m_Atk = value; }
        }

        private Int32 m_Troops;
        public virtual Int32 Troops
        {
            get { return m_Troops; }
            set { m_Troops = value; }
        }

        private Int32 m_MaxTroops;
        public virtual Int32 MaxTroops
        {
            get { return m_MaxTroops; }
            set { m_MaxTroops = value; }
        }

        private Int32 m_Durable;
        public virtual Int32 Durable
        {
            get { return m_Durable; }
            set { m_Durable = value; }
        }

        private Int32 m_MaxDurable;
        public virtual Int32 MaxDurable
        {
            get { return m_MaxDurable; }
            set { m_MaxDurable = value; }
        }

        private Guid? m_PlayerId;
        public virtual Guid? PlayerId
        {
            get { return m_PlayerId; }
            set { m_PlayerId = value; }
        }

        private Int32 m_LevelId;
        public virtual Int32 LevelId
        {
            get { return m_LevelId; }
            set { m_LevelId = value; }
        }

        private Int32 m_MapId;
        public virtual Int32 MapId
        {
            get { return m_MapId; }
            set { m_MapId = value; }
        }

        protected override void Validate()
        {
        }
    }
}
